﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.InteropServices;
using System.Text;
using System.Threading.Tasks;

namespace GxTsSharp.Models
{
    [StructLayout(LayoutKind.Sequential)]
    public class KLine
    {
        /// <summary>
        /// 日期
        /// </summary>
        public uint Date;

        /// <summary>
        /// 时间
        /// </summary>
        public uint Time;

        /// <summary>
        /// 开盘价
        /// </summary>
        public int OpenPrice;

        /// <summary>
        /// 最高价
        /// </summary>
        public int MaxPrice;

        /// <summary>
        /// 最低价
        /// </summary>
        public int MinPrice;

        /// <summary>
        /// 收盘价
        /// </summary>
        public int ClosePrice;

        /// <summary>
        /// 成交总股数
        /// </summary>
        public long Total;

        /// <summary>
        /// 成交金额
        /// </summary>
        public long Money;

        /// <summary>
        /// 国债利率(单位为0.1分),基金净值,期货持仓量
        /// </summary>
        public int OpenInterest;

        /// <summary>
        /// 笔数
        /// </summary>
        public int Stroke;
    }
}
